﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AddPremise.ascx.cs"
    Inherits="Team4Mock.UserControl.Premise.AddPremise" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<link href="../../Source/Styles/Premise.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
    $(document).ready(function () {

        $(".tab_content").hide();
        $("ul.tabs li:first").addClass("active").show();
        $(".tab_content:first").show();

        $("ul.tabs li").click(function () {

            $("ul.tabs li").removeClass("active");
            $(this).addClass("active");
            $(".tab_content").hide();

            var activeTab = $(this).find("a").attr("href");
            $(activeTab).slideDown();
            return false;
        });
    });
</script>
<script type="text/javascript">
    function getValueHidden() {
        var s = document.getElementById('id').value;
        if (s != "") {
            document.getElementById('<%=idhostingcontact.ClientID%>').value = s;
        }
        var b = document.getElementById('idOrga').value;
        if (b != "") {
            document.getElementById('<%=idOrg.ClientID%>').value = b;
        }
        var p = document.getElementById('txtPostCode').value;
        if (p != "") {
            document.getElementById('<%=PostCode.ClientID%>').value = p;
        }
        var t = document.getElementById('txtTown').value;
        if (t != "") {
            document.getElementById('<%=Town.ClientID%>').value = t;
        }
        var c = document.getElementById('txtCounty').value;
        if (c != "") {
            document.getElementById('<%=County.ClientID%>').value = c;
        }
        var m = document.getElementById('hdMedia').value;
        if (m != "") {
            document.getElementById('<%=idMediaContact.ClientID%>').value = m;
        }
        var c2 = document.getElementById('hdCatering').value;
        if (c2 != "") {
            document.getElementById('<%=idCatering.ClientID%>').value = c2;
        }
    }
</script>
<script type="text/javascript">
    function PopupBusiness() {
        window.open("/FormView/PopupBusiness.aspx", "popUpWindow", 'height=500,width=800,left=300,top=100,resizable=No,scrollbars=No,toolbar=no,menubar=no,location=no,directories=no, status=No');
    }
    function PopupAddress() {
        window.open("/FormView/PopupAddress.aspx", 'popUpWindow', 'height=500,width=800,left=300,top=100,resizable=No,scrollbars=No,toolbar=no,menubar=no,location=no,directories=no, status=No');
    }
    function PopupContact() {
        window.open("/FormView/PopupContact.aspx", 'popUpWindow', 'height=500,width=800,left=300,top=100,resizable=No,scrollbars=No,toolbar=no,menubar=no,location=no,directories=no, status=No');
    }
    function PopupOrg() {
        window.open("/FormView/PopupOrg.aspx", 'popUpWindow', 'height=500,width=800,left=300,top=100,resizable=No,scrollbars=No,toolbar=no,menubar=no,location=no,directories=no, status=No');
    }
    function PopupMedia() {
        window.open("/FormView/MediaPopup.aspx", 'popUpWindow', 'height=500,width=800,left=300,top=100,resizable=No,scrollbars=No,toolbar=no,menubar=no,location=no,directories=no, status=No');
    }
    function PopupCatering() {
        window.open("/FormView/CateringPopup.aspx", 'popUpWindow', 'height=500,width=800,left=300,top=100,resizable=No,scrollbars=No,toolbar=no,menubar=no,location=no,directories=no, status=No');
    }
    function Error() {
        alert("Error in processing !");
        window.location.href = "/FormView/Default.aspx";
    }
</script>
<style type="text/css">
    .style83
    {
        width: 117px;
        height: 52px;
    }
    .style84
    {
        width: 166px;
        height: 52px;
    }
    .style86
    {
        width: 172px;
        height: 38px;
    }
    .style87
    {
        width: 110px;
        height: 38px;
    }
    .style88
    {
        width: 117px;
        height: 38px;
    }
</style>
<fieldset style="width: 760px;">
    <legend style="height: 25px; background-color: #465c71; -webkit-border-radius: 5px 5px 0px 0px;
        color: #dde4ec; font-size: 18px;">Premise Details</legend>
    <div style="width: 760px;">
        <ul class="tabs" style="width: 760px; float: left;">
            <li><a href="#Create1" class="active tab">Details1</a></li>
            <li><a href="#Create2" class="tab">Details2</a></li>
            <li><a href="#Create3" class="tab">Details3</a></li>
            <li><a href="#Create4" class="tab">Details4</a></li>
        </ul>
        <br />
        <div class="tab_container">
            <div id="Create1" class="tab_content">
                <table width="760px" cellpadding="0px" cellspacing="0px" border="0" style="font-size: 15px;">
                    <tr>
                        <td class="style50">
                            Location Name <span style="color: Red;">(*)</span>
                        </td>
                        <td class="style51">
                            <asp:TextBox ID="txtLocName" runat="server" Width="186px"></asp:TextBox>
                        </td>
                        <td class="style11">
                            Primary Location
                        </td>
                        <td class="style6">
                            <asp:CheckBox ID="ckPriLoc" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style52">
                            Knows As
                        </td>
                        <td class="style24">
                            <asp:TextBox ID="txtKnowAs" runat="server" Width="186px"></asp:TextBox>
                        </td>
                        <td class="style13">
                            Location Managed
                        </td>
                        <td class="style53">
                            <asp:CheckBox ID="ckLocMan" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style12">
                            Location Organisation
                        </td>
                        <td class="style26">
                            <input type="text" id="txtOrg" readonly="readonly" style="width: 104px" />
                            <input type="hidden" id="idOrga" />
                            &nbsp;&nbsp; <a href="#" onclick="PopupOrg();return false;">Lookup</a>
                            <asp:HiddenField ID="idOrg" runat="server" />
                        </td>
                        <td>
                            ST Network Connectivity
                        </td>
                        <td>
                            <asp:CheckBox ID="ckSTNetCon" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style50">
                            Location Status&nbsp; <span style="color: Red; text-decoration: blink;">(*)</span>
                        </td>
                        <td class="style51">
                            <asp:DropDownList ID="dlLocSta" runat="server" AutoPostBack="true" Width="186px">
                                <asp:ListItem>Select Status</asp:ListItem>
                                <asp:ListItem Value="Pending Active">Pending Active</asp:ListItem>
                                <asp:ListItem Value="Active">Active</asp:ListItem>
                                <asp:ListItem Value="Pending Closure">Pending Closure</asp:ListItem>
                                <asp:ListItem Value="Pending Active">Pending Active</asp:ListItem>
                                <asp:ListItem Value="Closed Items">Closed Items</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td rowspan="2" class="style15">
                            Location Type<span style="color: Red;"> (*)</span>
                        </td>
                        <td rowspan="2">
                            <asp:CheckBoxList ID="clLocTyp" runat="server" Width="190px" Height="54px">
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style12">
                            Location Status Date
                        </td>
                        <td class="style1">
                            <asp:TextBox ID="txtLocStaDate" runat="server" Width="186px"></asp:TextBox>
                            <cc1:CalendarExtender runat="server" ID="CalendarExtender1" TargetControlID="txtLocStaDate" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style12">
                            Address Line 1
                        </td>
                        <td class="style26">
                            <asp:TextBox ID="txtAdd1" runat="server" Width="186px"></asp:TextBox>
                        </td>
                        <td rowspan="2">
                            Location Description
                        </td>
                        <td rowspan="2">
                            <asp:TextBox TextMode="MultiLine" ID="txtDesFull" runat="server" Width="174px" Height="54px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style83">
                            Address Line 2
                        </td>
                        <td class="style84">
                            <asp:TextBox ID="txtAdd2" runat="server" Width="186px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style12">
                            Address Line 3
                        </td>
                        <td class="style26">
                            <asp:TextBox ID="txtAdd3" runat="server" Width="186px"></asp:TextBox>
                        </td>
                        <td>
                            Phone Number <span style="color: Red;">(*)</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtPhone" runat="server" Width="176px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style12">
                            Post Code <span style="color: Red;">(*)</span>
                        </td>
                        <td class="style26">
                            <input type="text" id="txtPostCode" style="width: 117px;" readonly="readonly" />
                            &nbsp;&nbsp;<a href="#" onclick="PopupAddress();return false;">Lookup</a>
                            <asp:HiddenField ID="PostCode" runat="server" />
                        </td>
                        <td>
                            Gerneral Fax Number
                        </td>
                        <td>
                            <asp:TextBox ID="txtGerNum" runat="server" Width="176px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style12">
                            City/Town
                        </td>
                        <td class="style26">
                            <input type="text" id="txtTown" style="width: 186px;" readonly="readonly" />
                            <asp:HiddenField ID="Town" runat="server" />
                        </td>
                        <td>
                            Minicomm Number
                        </td>
                        <td>
                            <asp:TextBox ID="txtMiniNum" runat="server" Width="176px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style12">
                            County
                        </td>
                        <td class="style26">
                            <input type="text" id="txtCounty" style="width: 186px;" />
                            <asp:HiddenField ID="County" runat="server" />
                        </td>
                        <td>
                            Is New Shop
                        </td>
                        <td>
                            <asp:CheckBox ID="ckIsNewShop" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style88">
                            Nation/Country
                        </td>
                        <td class="style86">
                            <asp:DropDownList ID="dlCountry" DataTextField="CountryName" DataValueField="CountryName"
                                runat="server" Width="186px">
                            </asp:DropDownList>
                        </td>
                        <td class="style87">
                            Shop Flag Date
                        </td>
                        <td class="style87">
                            <asp:TextBox ID="txtShopFlagDate" runat="server" Width="176px"></asp:TextBox>
                            <cc1:CalendarExtender runat="server" ID="calenShopflag" TargetControlID="txtShopFlagDate"
                                Format="MM/dd/yyyy" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style47">
                            Is Active
                        </td>
                        <td class="style47">
                            <asp:CheckBox runat="server" ID="ckactive" />
                        </td>
                        <td class="style47">
                            Specialist Shop
                        </td>
                        <td class="style47">
                            <asp:CheckBox ID="ckSpecShop" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">
                            <asp:HyperLink ID="hp2" runat="server" NavigateUrl="#" Text="Location Opening Times"></asp:HyperLink>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="tab_container">
            <div id="Create2" class="tab_content">
                <table width="760px" cellpadding="0px" cellspacing="0px" border="0" style="font-size: 15px;">
                    <tr>
                        <td class="style20">
                            Accreditations
                        </td>
                        <td class="style21">
                            <asp:CheckBoxList ID="clAcc" runat="server" Width="142px" Height="100px">
                            </asp:CheckBoxList>
                        </td>
                        <td class="style16">
                            JCP Offices
                        </td>
                        <td>
                            <asp:CheckBoxList ID="clJcpOff" runat="server" Width="154px" Height="100px">
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style44">
                            Media Contact
                        </td>
                        <td class="style45">
                            <asp:CheckBox ID="ckMediaContact" runat="server" />
                        </td>
                        <td class="style46">
                            Catering Facilities
                        </td>
                        <td class="style47">
                            <asp:CheckBox ID="ckCateFac" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style20">
                            Media Contact Name
                        </td>
                        <td class="style21">
                            <input type="text" id="MediaName" readonly="readonly" style="width: 104px" />
                            <input type="hidden" id="hdMedia" />
                            &nbsp;&nbsp; <a href="#" onclick="PopupMedia();return false;">Lookup</a>
                            <asp:HiddenField ID="idMediaContact" runat="server" />
                        </td>
                        <td class="style16">
                            Catering Contact
                        </td>
                        <td>
                            <input type="text" id="CateringName" readonly="readonly" style="width: 104px" />
                            <input type="hidden" id="hdCatering" />
                            &nbsp;&nbsp; <a href="#" onclick="PopupCatering();return false;">Lookup</a>
                            <asp:HiddenField ID="idCatering" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td rowspan="3" class="style20">
                            Location Demographic Issues
                        </td>
                        <td rowspan="3" class="style21">
                            <asp:CheckBoxList ID="clLocDemoIss" runat="server" Width="132px" Height="100px">
                            </asp:CheckBoxList>
                        </td>
                        <td class="style42">
                            Catering Type
                        </td>
                        <td class="style43">
                            <asp:DropDownList ID="dlCateType" AutoPostBack="true" DataTextField="RefValue" DataValueField="RefId"
                                runat="server" Width="186px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style46">
                            IS/Network
                        </td>
                        <td class="style2">
                            <asp:DropDownList ID="dlISNetwork" runat="server" Width="186px">
                                <asp:ListItem Value="Open">Open</asp:ListItem>
                                <asp:ListItem Value="Wip">Wip</asp:ListItem>
                                <asp:ListItem Value="Closed">Closed</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style42">
                            Client IT Facility
                        </td>
                        <td class="style43">
                            <asp:CheckBox ID="ckClientIFFac" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td rowspan="4" class="style20">
                            Local Demographic Notes
                        </td>
                        <td rowspan="4" class="style21">
                            <asp:TextBox ID="txtLocDemNotes" runat="server" TextMode="MultiLine" Height="80px"
                                Width="163px"></asp:TextBox>
                        </td>
                        <td class="style16">
                            Client IT Facility Details
                        </td>
                        <td>
                            <asp:TextBox ID="txtClientFacDetails" runat="server" TextMode="MultiLine"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style40">
                            Room Availiability
                        </td>
                        <td class="style48">
                            <asp:CheckBox ID="ckRoomAvai" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style16">
                            Volunteering Opportunites
                        </td>
                        <td>
                            <asp:CheckBox ID="ckVolunOpp" runat="server" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="tab_container">
            <div id="Create3" class="tab_content">
                <table width="760px" cellpadding="0px" cellspacing="0px" border="0" style="font-size: 15px;">
                    <tr>
                        <td class="style60">
                            Outreach Location
                        </td>
                        <td class="style22">
                            <asp:CheckBoxList ID="clOutLoc" runat="server" Width="176px" Height="100px" Style="margin-left: 0px;
                                border: 1px solid #c3c3c3;">
                            </asp:CheckBoxList>
                        </td>
                        <td class="style59" style="height: 100px;">
                            Local Hotel
                        </td>
                        <td style="height: 100px;">
                            <div style="height: 100px; overflow-y: scroll;">
                                <asp:CheckBoxList ID="clLocHot" runat="server" Width="191px" Height="100px" Style="margin-left: 0px;
                                    border: 1px solid #c3c3c3;">
                                </asp:CheckBoxList>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="style29">
                            Travel Detail
                        </td>
                        <td class="style30">
                            <asp:TextBox ID="txtTravelDetail" runat="server" Width="176px"></asp:TextBox>
                        </td>
                        <td class="style56">
                            Visitor Parking Onsite
                        </td>
                        <td class="style31">
                            <asp:CheckBox ID="ckVisitParkOnsite" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style32">
                            Travel Nearest Bus
                        </td>
                        <td class="style54">
                            <asp:TextBox ID="txtTravelBus" runat="server" Width="176px"></asp:TextBox>
                        </td>
                        <td class="style57">
                            Visitor Parking Spaces
                        </td>
                        <td class="style33">
                            <asp:TextBox ID="txtVisitParkSpac" runat="server" Width="176px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style34">
                            Travel Nearest Rail
                        </td>
                        <td class="style35">
                            <asp:TextBox ID="txtTravelRail" runat="server" Width="176px"></asp:TextBox>
                        </td>
                        <td rowspan="2" class="style59">
                            Visitor Parking Altermative
                        </td>
                        <td rowspan="2">
                            <asp:TextBox ID="txtVisitParkingAlt" runat="server" TextMode="MultiLine" Height="61px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style32">
                            Travel Nearest Airport
                        </td>
                        <td class="style54">
                            <asp:TextBox ID="txtTravelAirport" runat="server" Width="176px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style38">
                            Host Visits
                        </td>
                        <td class="style55">
                            <asp:CheckBox ID="ckHostVisit" runat="server" />
                        </td>
                        <td class="style58">
                        </td>
                        <td class="style39">
                        </td>
                    </tr>
                    <tr>
                        <td class="style60">
                            Hosting contact
                        </td>
                        <td class="style22">
                            <input id="Name" readonly="readonly" style="width: 104px" type="text" />
                            <input id="id" type="hidden" />
                            &nbsp;&nbsp; <a href="#" onclick="PopupContact();return false;">Lookup</a>
                            <asp:HiddenField ID="idhostingcontact" runat="server" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="tab_container">
            <div id="Create4" class="tab_content">
                <table width="760px" cellpadding="0px" cellspacing="0px" border="0" style="font-size: 15px;">
                    <tr>
                        <td class="style15">
                            Room Only Rate
                        </td>
                        <td class="style63">
                            <asp:TextBox ID="txtRoomrate" runat="server" Width="176px"></asp:TextBox>
                        </td>
                        <td class="style62">
                            Negotiated Room Only Rate
                        </td>
                        <td>
                            <asp:TextBox ID="txtNegoRoom" runat="server" Width="176px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style82">
                            B&amp;B Rate
                        </td>
                        <td class="style65">
                            <asp:TextBox ID="txtBBRate" runat="server" Width="176px"></asp:TextBox>
                        </td>
                        <td class="style66">
                            B&amp;B Negotiated Rate
                        </td>
                        <td class="style31">
                            <asp:TextBox ID="txtBBNego" runat="server" Width="176px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style67">
                            DBB Rate
                        </td>
                        <td class="style68">
                            <asp:TextBox ID="txtDBBRate" runat="server" Width="176px"></asp:TextBox>
                        </td>
                        <td class="style69">
                            DBB Negotiated Rate
                        </td>
                        <td class="style70">
                            <asp:TextBox ID="txtDBBNego" runat="server" Width="176px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style71">
                            DD Rate
                        </td>
                        <td class="style72">
                            <asp:TextBox ID="txtDDRate" runat="server" Width="176px"></asp:TextBox>
                        </td>
                        <td class="style73">
                            DD Negotiated Rate
                        </td>
                        <td class="style47">
                            <asp:TextBox ID="txtDDNego" runat="server" Width="176px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style71">
                            24hr Rate
                        </td>
                        <td class="style72">
                            <asp:TextBox ID="txtHrRate" runat="server" Width="176px"></asp:TextBox>
                        </td>
                        <td class="style73">
                            24hr Negotiated Rate
                        </td>
                        <td class="style47">
                            <asp:TextBox ID="txtHrNego" runat="server" Width="176px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style74">
                            Tea and Coffee
                        </td>
                        <td class="style75">
                            <asp:TextBox ID="txtTeaAndCoffee" runat="server" Width="176px"></asp:TextBox>
                        </td>
                        <td class="style76">
                            Last Negotiated Rate
                        </td>
                        <td class="style53">
                            <asp:TextBox ID="txtLastNego" runat="server" Width="176px"></asp:TextBox>
                            <cc1:CalendarExtender runat="server" ID="CalendarExtender2" TargetControlID="txtLastNego"
                                Format="MM/dd/yyyy" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style82">
                            Lunch
                        </td>
                        <td class="style65">
                            <asp:CheckBox ID="ckLunch" runat="server" />
                        </td>
                        <td class="style66">
                            Re-Negotiated On
                        </td>
                        <td class="style31">
                            <asp:TextBox ID="txtReNego" runat="server" Width="176px"></asp:TextBox>
                            <cc1:CalendarExtender runat="server" ID="CalendarExtender3" TargetControlID="txtReNego"
                                Format="MM/dd/yyyy" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style77">
                            No of Meeting Room
                        </td>
                        <td class="style78">
                            <asp:TextBox ID="txtNoMeetingRoom" runat="server" Width="176px"></asp:TextBox>
                        </td>
                        <td class="style79">
                            Preferred Status
                        </td>
                        <td class="style80">
                            <asp:DropDownList ID="dlPrefrred" runat="server" Width="186px">
                                <asp:ListItem Value="Status 1">Status 1</asp:ListItem>
                                <asp:ListItem Value="Status 2">Status 2</asp:ListItem>
                                <asp:ListItem Value="Status 3">Status 3</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style15">
                            Meeting Room Rate Per Day
                        </td>
                        <td class="style63">
                            <asp:TextBox ID="txtMeetingRoomPerDay" runat="server" Width="176px"></asp:TextBox>
                        </td>
                        <td rowspan="2" class="style62">
                            Comments
                        </td>
                        <td rowspan="2">
                            <asp:TextBox ID="txtComments" runat="server" Style="max-width: 180px; max-height: 60px;"
                                TextMode="MultiLine" Height="43px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="style15">
                            Codings
                        </td>
                        <td class="style63">
                            <asp:DropDownList ID="dlCodings" runat="server" Width="186px">
                                <asp:ListItem Value="Coding 1">Coding 1</asp:ListItem>
                                <asp:ListItem Value="Coding 2">Coding 2</asp:ListItem>
                                <asp:ListItem Value="Coding 3">Coding 3</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <asp:UpdatePanel ID="Tab1" runat="server">
        <ContentTemplate>
            <p style="width: 100%; background-color: lavender; line-height: 25px;">
                <asp:Label ID="Label1" runat="server"></asp:Label>
            </p>
            <asp:Button ID="btnCreate" runat="server" Text="Save" CssClass="button" OnClientClick="getValueHidden()"
                OnClick="btnCreate_Click" />
            <asp:Button ID="btnBack1" runat="server" Text="Back" CssClass="button" OnClick="btnBack1_Click" />
        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="btnCreate" EventName="Click" />
            <asp:AsyncPostBackTrigger ControlID="dlCateType" EventName="SelectedIndexChanged" />
        </Triggers>
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="pro" runat="server" AssociatedUpdatePanelID="Tab1">
    </asp:UpdateProgress>
</fieldset>
